package com.winderinfo.yikaotianxia.ui.coupons;

import java.util.List;

public class CouponsBean {

    /**
     * total : 1
     * rows : [{"id":1,"userId":1,"couponsId":1,"createtime":"2019-07-16 10:56:57","ykCoupons":{"id":1,"couponsNo":"11111","money":11,"code":"11","addr":"1","status":"0","createtime":"2019-07-16 10:57:18","endtime":"2019-07-17 10:57:21","createuser":"东郊"},"couponsNo":null,"code":null}]
     * code : 0
     */

    private int total;
    private int code;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 1
         * userId : 1
         * couponsId : 1
         * createtime : 2019-07-16 10:56:57
         * ykCoupons : {"id":1,"couponsNo":"11111","money":11,"code":"11","addr":"1","status":"0","createtime":"2019-07-16 10:57:18","endtime":"2019-07-17 10:57:21","createuser":"东郊"}
         * couponsNo : null
         * code : null
         */

        private int id;
        private int userId;
        private int couponsId;
        private String createtime;
        private YkCouponsBean ykCoupons;
        private int couponsNo;
        private int code;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getCouponsId() {
            return couponsId;
        }

        public void setCouponsId(int couponsId) {
            this.couponsId = couponsId;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public YkCouponsBean getYkCoupons() {
            return ykCoupons;
        }

        public void setYkCoupons(YkCouponsBean ykCoupons) {
            this.ykCoupons = ykCoupons;
        }

        public int getCouponsNo() {
            return couponsNo;
        }

        public void setCouponsNo(int couponsNo) {
            this.couponsNo = couponsNo;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public static class YkCouponsBean {
            /**
             * id : 1
             * couponsNo : 11111
             * money : 11
             * code : 11
             * addr : 1
             * status : 0
             * createtime : 2019-07-16 10:57:18
             * endtime : 2019-07-17 10:57:21
             * createuser : 东郊
             */

            private int id;
            private String couponsNo;
            private int money;
            private String code;
            private String addr;
            private String status;
            private String createtime;
            private String endtime;
            private String createuser;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCouponsNo() {
                return couponsNo;
            }

            public void setCouponsNo(String couponsNo) {
                this.couponsNo = couponsNo;
            }

            public int getMoney() {
                return money;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getAddr() {
                return addr;
            }

            public void setAddr(String addr) {
                this.addr = addr;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public String getCreateuser() {
                return createuser;
            }

            public void setCreateuser(String createuser) {
                this.createuser = createuser;
            }
        }
    }
}
